//
//  ChatInfoNavView.m
//  SanYiTeaching
//
//  Created by ChenHao on 2019/8/12.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import "ChatInfoNavView.h"

@implementation ChatInfoNavView
+(instancetype)xibCreatInfoNavView{
    return (ChatInfoNavView *)[[[NSBundle mainBundle] loadNibNamed:@"ChatInfoNavView" owner:nil options:nil] lastObject];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.endBtn.layer.masksToBounds = YES;
    self.endBtn.layer.cornerRadius = 3;
}
- (IBAction)endTheChatClick:(id)sender {
    if (self.endTheChatBtnClick) {
        self.endTheChatBtnClick();
    }
}
- (IBAction)lookAllInfoClick:(id)sender {
    if (self.AllInfoLookClick) {
        self.AllInfoLookClick();
    }
}
- (IBAction)backBtnClick:(id)sender {
    if (self.backButtonClick) {
        self.backButtonClick();
    }
}
@end
